import os

class Config:
    SECRET_KEY = os.environ.get('SECRET_KEY') or 'dev-secret-key-change-in-production'
    # 使用MySQL数据库连接
    SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:7415369Success@localhost:3306/student_info'
    SQLALCHEMY_TRACK_MODIFICATIONS = False